<template>
  <div class="scene-tree">
    <sim-select-tree-node v-for="item in (treeData as any[])" :key="item.id" :nodeData="item" :selectedId="selectedId"/>
  </div>
</template>
<script lang="ts">

import SelectTreeNode from './SelectTreeNode.vue';
import { defineComponent } from "vue";

export default defineComponent({
  name: 'sim-select-tree',
  components: {
	  'sim-select-tree-node': SelectTreeNode,
  },
  props: {
	  treeData: Array,
    selectedId: String,
  },
});
</script>
